package cn.com.sinosoft.web.controller;

import cn.com.sinosoft.entity.UserBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * Created by wangyupeng on 2019-03-16 10:49
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/test")
    public UserBean test() {
        UserBean userBean = new UserBean();
        userBean.setName("王玉鹏");
        userBean.setPassword("123456");
        return userBean;
    }
}
